home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-02-22 | 5.6 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Feb 22 23:47:35 1993, modified Mon Feb 22 23:47:35 1993, creator Think C, type ASCII, 5064 bytes "randU.c" , at 0x1448 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 72 61 6e 64 55 2e | 63 00 00 00 00 00 00 00 |..randU.|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 13 c8 00 | 00 01 ac a7 af 5c e7 a7 |........|.....\..|
|00000060| af 5c e7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.\......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 38 f5 00 00 |........|....8...|
|00000080| 2f 2a 0d 72 61 6e 64 55 | 2e 63 0d 44 65 6e 69 73 |/*.randU|.c.Denis|
|00000090| 20 47 2e 20 50 65 6c 6c | 69 0d 0d 69 3d 72 61 6e | G. Pell|i..i=ran|
|000000a0| 64 55 28 29 3b 0d 72 61 | 6e 64 55 28 29 20 69 73 |dU();.ra|ndU() is|
|000000b0| 20 74 68 65 20 41 4e 53 | 49 20 73 74 61 6e 64 61 | the ANS|I standa|
|000000c0| 72 64 20 72 61 6e 64 6f | 6d 20 6e 75 6d 62 65 72 |rd rando|m number|
|000000d0| 20 67 65 6e 65 72 61 74 | 6f 72 20 72 61 6e 64 28 | generat|or rand(|
|000000e0| 29 d1 73 65 65 20 4b 26 | 52 d1 0d 6d 6f 64 69 66 |).see K&|R..modif|
|000000f0| 69 65 64 20 74 6f 20 72 | 65 74 75 72 6e 20 31 36 |ied to r|eturn 16|
|00000100| 20 62 69 74 73 20 61 73 | 20 61 6e 20 75 6e 73 69 | bits as| an unsi|
|00000110| 67 6e 65 64 20 73 68 6f | 72 74 20 69 6e 74 20 69 |gned sho|rt int i|
|00000120| 6e 73 74 65 61 64 20 6f | 66 20 6a 75 73 74 20 31 |nstead o|f just 1|
|00000130| 35 20 62 69 74 73 0d 61 | 73 20 61 20 28 70 6f 73 |5 bits.a|s a (pos|
|00000140| 69 74 69 76 65 29 20 73 | 68 6f 72 74 20 69 6e 74 |itive) s|hort int|
|00000150| 2e 20 42 6f 74 68 20 76 | 65 72 73 69 6f 6e 73 20 |. Both v|ersions |
|00000160| 73 61 74 69 73 66 79 20 | 4b 6e 75 74 68 27 73 20 |satisfy |Knuth's |
|00000170| 70 72 65 73 63 72 69 70 | 74 69 6f 6e 73 20 66 6f |prescrip|tions fo|
|00000180| 72 20 61 20 6c 69 6e 65 | 61 72 0d 63 6f 6e 67 72 |r a line|ar.congr|
|00000190| 75 65 6e 74 69 61 6c 20 | 72 61 6e 64 6f 6d 20 6e |uential |random n|
|000001a0| 75 6d 62 65 72 20 67 65 | 6e 65 72 61 74 6f 72 2c |umber ge|nerator,|
|000001b0| 20 6e 61 6d 65 6c 79 2c | 20 67 69 76 65 6e 20 74 | namely,| given t|
|000001c0| 68 61 74 20 74 68 65 20 | 6d 6f 64 75 6c 75 73 20 |hat the |modulus |
|000001d0| 69 73 0d 32 5e 33 32 2c | 20 74 68 65 20 6d 75 6c |is.2^32,| the mul|
|000001e0| 74 69 70 6c 69 65 72 20 | 73 68 6f 75 6c 64 20 62 |tiplier |should b|
|000001f0| 65 20 62 65 74 77 65 65 | 6e 20 30 2e 30 31 6d 20 |e betwee|n 0.01m |
|00000200| 61 6e 64 20 30 2e 39 39 | 6d 2c 20 74 68 65 20 6d |and 0.99|m, the m|
|00000210| 75 6c 74 69 70 6c 69 65 | 72 20 6d 6f 64 20 38 20 |ultiplie|r mod 8 |
|00000220| 73 68 6f 75 6c 64 0d 62 | 65 20 35 2c 20 61 6e 64 |should.b|e 5, and|
|00000230| 20 74 68 65 20 61 64 64 | 65 6e 64 20 73 68 6f 75 | the add|end shou|
|00000240| 6c 64 20 62 65 20 6f 64 | 64 2e 20 28 4b 6e 75 74 |ld be od|d. (Knut|
|00000250| 68 20 61 6c 73 6f 20 72 | 65 63 6f 6d 6d 65 6e 64 |h also r|ecommend|
|00000260| 73 0d 64 6f 69 6e 67 20 | 73 70 65 63 74 72 61 6c |s.doing |spectral|
|00000270| 20 74 65 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 | testing| of the |
|00000280| 6d 75 6c 74 69 70 6c 69 | 65 72 2c 20 61 6e 64 20 |multipli|er, and |
|00000290| 49 20 64 6f 6e 27 74 20 | 6b 6e 6f 77 20 69 66 20 |I don't |know if |
|000002a0| 74 68 61 74 27 73 20 62 | 65 65 6e 0d 64 6f 6e 65 |that's b|een.done|
|000002b0| 2e 20 4f 6e 65 20 77 6f | 75 6c 64 20 6c 69 6b 65 |. One wo|uld like|
|000002c0| 20 74 6f 20 74 68 69 6e | 6b 20 74 68 61 74 20 74 | to thin|k that t|
|000002d0| 68 65 20 41 4e 53 49 20 | 43 20 63 6f 6d 6d 69 74 |he ANSI |C commit|
|000002e0| 74 65 65 20 77 6f 75 6c | 64 20 68 61 76 65 20 63 |tee woul|d have c|
|000002f0| 68 6f 73 65 6e 0d 61 20 | 6d 75 6c 74 69 70 6c 69 |hosen.a |multipli|
|00000300| 65 72 20 74 68 61 74 20 | 68 61 64 20 62 65 65 6e |er that |had been|
|00000310| 20 73 6f 20 74 65 73 74 | 65 64 2e 29 0d 0d 6a 3d | so test|ed.)..j=|
|00000320| 72 61 6e 64 55 4c 28 29 | 3b 0d 72 61 6e 64 55 4c |randUL()|;.randUL|
|00000330| 28 29 20 72 65 74 75 72 | 6e 73 20 61 20 33 32 2d |() retur|ns a 32-|
|00000340| 62 69 74 20 72 61 6e 64 | 6f 6d 20 6e 75 6d 62 65 |bit rand|om numbe|
|00000350| 72 2c 20 66 6f 72 6d 65 | 64 20 62 79 20 63 61 6c |r, forme|d by cal|
|00000360| 6c 69 6e 67 20 72 61 6e | 64 55 28 29 20 74 77 69 |ling ran|dU() twi|
|00000370| 63 65 20 61 6e 64 0d 67 | 6c 75 69 6e 67 20 74 68 |ce and.g|luing th|
|00000380| 65 20 72 65 73 75 6c 74 | 73 20 74 6f 67 65 74 68 |e result|s togeth|
|00000390| 65 72 2e 0d 0d 52 61 6e | 64 46 69 6c 6c 28 61 64 |er...Ran|dFill(ad|
|000003a0| 64 72 65 73 73 2c 62 79 | 74 65 73 29 3b 0d 69 73 |dress,by|tes);.is|
|000003b0| 20 61 20 74 69 67 68 74 | 20 63 6f 64 69 6e 67 20 | a tight| coding |
|000003c0| 6f 66 20 72 61 6e 64 55 | 28 29 20 6f 70 74 69 6d |of randU|() optim|
|000003d0| 69 7a 65 64 20 66 6f 72 | 20 66 69 6c 6c 69 6e 67 |ized for| filling|
|000003e0| 20 6c 61 72 67 65 20 62 | 75 66 66 65 72 73 2e 20 | large b|uffers. |
|000003f0| 49 74 0d 69 73 20 6e 75 | 6d 65 72 69 63 61 6c 6c |It.is nu|mericall|
|00000400| 79 20 65 71 75 69 76 61 | 6c 65 6e 74 2c 20 61 6e |y equiva|lent, an|
|00000410| 64 20 65 76 65 6e 20 75 | 73 65 73 20 74 68 65 20 |d even u|ses the |
|00000420| 73 61 6d 65 20 73 65 65 | 64 2e 0d 0d 4b 65 72 6e |same see|d...Kern|
|00000430| 69 67 68 61 6e 2c 20 42 | 2e 20 57 2e 20 61 6e 64 |ighan, B|. W. and|
|00000440| 20 52 69 74 63 68 69 65 | 2c 20 44 2e 20 4d 2e 20 | Ritchie|, D. M. |
|00000450| 28 31 39 38 38 29 20 54 | 68 65 20 43 20 50 72 6f |(1988) T|he C Pro|
|00000460| 67 72 61 6d 6d 69 6e 67 | 20 4c 61 6e 67 75 61 67 |gramming| Languag|
|00000470| 65 2c 20 53 65 63 6f 6e | 64 20 45 64 2e 0d 45 6e |e, Secon|d Ed..En|
|00000480| 67 6c 65 77 6f 6f 64 20 | 43 6c 69 66 66 73 2c 20 |glewood |Cliffs, |
|00000490| 4e 4a 3a 20 50 72 65 6e | 74 69 63 65 20 48 61 6c |NJ: Pren|tice Hal|
|000004a0| 6c 2c 20 70 2e 20 34 36 | 2e 0d 0d 4b 6e 75 74 68 |l, p. 46|...Knuth|
|000004b0| 2c 20 44 2e 20 45 2e 20 | 28 31 39 38 31 29 20 54 |, D. E. |(1981) T|
|000004c0| 68 65 20 41 72 74 20 6f | 66 20 43 6f 6d 70 75 74 |he Art o|f Comput|
|000004d0| 65 72 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 3a 20 |er Progr|amming: |
|000004e0| 32 2e 20 53 65 6d 69 6e | 75 6d 65 72 69 63 61 6c |2. Semin|umerical|
|000004f0| 20 41 6c 67 6f 72 69 74 | 68 6d 73 2c 20 0d 53 65 | Algorit|hms, .Se|
|00000500| 63 6f 6e 64 20 45 64 69 | 74 69 6f 6e 2e 20 20 52 |cond Edi|tion. R|
|00000510| 65 61 64 69 6e 67 2c 20 | 4d 41 3a 20 41 64 64 69 |eading, |MA: Addi|
|00000520| 73 6f 6e 20 57 65 73 6c | 65 79 2e 20 70 70 2e 20 |son Wesl|ey. pp. |
|00000530| 31 37 30 2d 31 37 31 2e | 0d 0d 48 49 53 54 4f 52 |170-171.|..HISTOR|
|00000540| 59 3a 0d 38 2f 34 2f 38 | 39 09 64 67 70 09 77 72 |Y:.8/4/8|9.dgp.wr|
|00000550| 6f 74 65 20 69 74 2e 0d | 33 2f 31 39 2f 39 30 09 |ote it..|3/19/90.|
|00000560| 64 67 70 09 65 6c 69 6d | 69 6e 61 74 65 64 20 61 |dgp.elim|inated a|
|00000570| 73 73 65 6d 62 6c 79 20 | 63 6f 64 65 20 74 6f 20 |ssembly |code to |
|00000580| 6d 61 6b 65 20 69 74 20 | 70 6f 72 74 61 62 6c 65 |make it |portable|
|00000590| 2e 20 54 68 69 73 20 72 | 65 71 75 69 72 65 64 20 |. This r|equired |
|000005a0| 64 65 66 69 6e 69 6e 67 | 20 61 0d 09 09 09 75 6e |defining| a....un|
|000005b0| 69 6f 6e 2e 20 49 20 64 | 6f 6e 27 74 20 6b 6e 6f |ion. I d|on't kno|
|000005c0| 77 20 68 6f 77 20 74 6f | 20 69 6e 69 74 69 61 6c |w how to| initial|
|000005d0| 69 7a 65 20 61 20 73 74 | 61 74 69 63 20 75 6e 69 |ize a st|atic uni|
|000005e0| 6f 6e 2c 20 73 6f 20 49 | 20 6c 65 66 74 20 69 74 |on, so I| left it|
|000005f0| 0d 09 09 09 75 6e 69 6e | 69 74 69 61 6c 69 7a 65 |....unin|itialize|
|00000600| 64 2e 0d 38 2f 35 2f 39 | 31 09 64 67 70 09 61 64 |d..8/5/9|1.dgp.ad|
|00000610| 64 65 64 20 52 61 6e 64 | 46 69 6c 6c 28 29 2e 20 |ded Rand|Fill(). |
|00000620| 43 61 6c 6c 69 6e 67 20 | 52 61 6e 64 46 69 6c 6c |Calling |RandFill|
|00000630| 28 29 20 74 6f 20 66 69 | 6c 6c 20 61 20 62 75 66 |() to fi|ll a buf|
|00000640| 66 65 72 0d 09 09 09 77 | 69 6c 6c 20 68 61 76 65 |fer....w|ill have|
|00000650| 20 65 78 61 63 74 6c 79 | 20 74 68 65 20 73 61 6d | exactly| the sam|
|00000660| 65 20 72 65 73 75 6c 74 | 20 61 73 20 72 65 70 65 |e result| as repe|
|00000670| 61 74 65 64 6c 79 20 63 | 61 6c 6c 69 6e 67 20 72 |atedly c|alling r|
|00000680| 61 6e 64 55 28 29 2c 20 | 0d 09 09 09 74 77 6f 20 |andU(), |....two |
|00000690| 62 79 74 65 73 20 61 74 | 20 61 20 74 69 6d 65 2c |bytes at| a time,|
|000006a0| 20 62 75 74 20 74 61 6b | 65 73 0d 09 09 09 61 62 | but tak|es....ab|
|000006b0| 6f 75 74 20 68 61 6c 66 | 20 74 68 65 20 74 69 6d |out half| the tim|
|000006c0| 65 2e 20 72 61 6e 64 55 | 27 73 20 73 65 65 64 20 |e. randU|'s seed |
|000006d0| 69 73 20 75 70 64 61 74 | 65 64 20 74 6f 20 72 65 |is updat|ed to re|
|000006e0| 66 6c 65 63 74 20 74 68 | 65 20 61 63 74 69 76 69 |flect th|e activi|
|000006f0| 74 79 2e 0d 09 09 09 52 | 61 6e 64 46 69 6c 6c 28 |ty.....R|andFill(|
|00000700| 29 20 72 75 6e 73 20 61 | 74 20 61 62 6f 75 74 20 |) runs a|t about |
|00000710| 31 2e 32 20 b5 73 2f 62 | 79 74 65 20 6f 6e 20 61 |1.2 .s/b|yte on a|
|00000720| 20 4d 61 63 20 49 49 63 | 69 2e 0d 38 2f 32 34 2f | Mac IIc|i..8/24/|
|00000730| 39 31 09 64 67 70 09 4d | 61 64 65 20 63 6f 6d 70 |91.dgp.M|ade comp|
|00000740| 61 74 69 62 6c 65 20 77 | 69 74 68 20 54 48 49 4e |atible w|ith THIN|
|00000750| 4b 20 43 20 35 2e 30 2e | 0d 31 30 2f 32 31 2f 39 |K C 5.0.|.10/21/9|
|00000760| 31 20 64 67 70 20 52 65 | 6d 6f 76 65 64 20 6f 62 |1 dgp Re|moved ob|
|00000770| 73 6f 6c 65 74 65 20 69 | 6e 63 6c 75 73 69 6f 6e |solete i|nclusion|
|00000780| 20 6f 66 20 4d 61 63 50 | 72 6f 74 6f 2e 68 2e 0d | of MacP|roto.h..|
|00000790| 39 2f 31 33 2f 39 32 09 | 64 67 70 09 41 64 64 65 |9/13/92.|dgp.Adde|
|000007a0| 64 20 72 61 6e 64 55 4c | 28 29 2e 0d 2a 2f 0d 23 |d randUL|()..*/.#|
|000007b0| 69 6e 63 6c 75 64 65 20 | 22 56 69 64 65 6f 54 6f |include |"VideoTo|
|000007c0| 6f 6c 62 6f 78 2e 68 22 | 0d 0d 74 79 70 65 64 65 |olbox.h"|..typede|
|000007d0| 66 20 75 6e 69 6f 6e 20 | 7b 0d 09 75 6e 73 69 67 |f union |{..unsig|
|000007e0| 6e 65 64 20 6c 6f 6e 67 | 20 4c 3b 0d 09 73 74 72 |ned long| L;..str|
|000007f0| 75 63 74 20 7b 0d 09 09 | 73 68 6f 72 74 20 68 69 |uct {...|short hi|
|00000800| 67 68 3b 0d 09 09 73 68 | 6f 72 74 20 6c 6f 77 3b |gh;...sh|ort low;|
|00000810| 0d 09 7d 20 53 3b 0d 7d | 20 73 65 65 64 54 79 70 |..} S;.}| seedTyp|
|00000820| 65 3b 0d 0d 73 74 61 74 | 69 63 20 73 65 65 64 54 |e;..stat|ic seedT|
|00000830| 79 70 65 20 73 65 65 64 | 3d 7b 33 31 34 31 35 39 |ype seed|={314159|
|00000840| 32 36 35 7d 3b 0d 0d 75 | 6e 73 69 67 6e 65 64 20 |265};..u|nsigned |
|00000850| 73 68 6f 72 74 20 72 61 | 6e 64 55 28 76 6f 69 64 |short ra|ndU(void|
|00000860| 29 0d 7b 0d 09 73 65 65 | 64 2e 4c 20 3d 20 73 65 |).{..see|d.L = se|
|00000870| 65 64 2e 4c 20 2a 20 31 | 31 30 33 35 31 35 32 34 |ed.L * 1|10351524|
|00000880| 35 4c 20 2b 20 31 32 33 | 34 35 4c 3b 0d 09 72 65 |5L + 123|45L;..re|
|00000890| 74 75 72 6e 20 73 65 65 | 64 2e 53 2e 68 69 67 68 |turn see|d.S.high|
|000008a0| 3b 0d 7d 0d 0d 23 69 66 | 20 55 53 48 52 54 5f 4d |;.}..#if| USHRT_M|
|000008b0| 41 58 21 3d 30 78 66 66 | 66 66 20 7c 7c 20 55 4c |AX!=0xff|ff || UL|
|000008c0| 4f 4e 47 5f 4d 41 58 21 | 3d 30 78 66 66 66 66 66 |ONG_MAX!|=0xfffff|
|000008d0| 66 66 66 0d 09 23 65 72 | 72 6f 72 20 22 72 61 6e |fff..#er|ror "ran|
|000008e0| 64 55 4c 28 29 20 61 73 | 73 75 6d 65 73 20 31 36 |dUL() as|sumes 16|
|000008f0| 20 62 69 74 20 75 6e 73 | 69 67 6e 65 64 20 73 68 | bit uns|igned sh|
|00000900| 6f 72 74 20 61 6e 64 20 | 33 32 20 62 69 74 20 75 |ort and |32 bit u|
|00000910| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 22 0d 23 65 |nsigned |long".#e|
|00000920| 6e 64 69 66 0d 0d 75 6e | 73 69 67 6e 65 64 20 6c |ndif..un|signed l|
|00000930| 6f 6e 67 20 72 61 6e 64 | 55 4c 28 76 6f 69 64 29 |ong rand|UL(void)|
|00000940| 0d 7b 0d 09 72 65 74 75 | 72 6e 20 28 28 75 6e 73 |.{..retu|rn ((uns|
|00000950| 69 67 6e 65 64 20 6c 6f | 6e 67 29 72 61 6e 64 55 |igned lo|ng)randU|
|00000960| 28 29 3c 3c 31 36 29 2b | 72 61 6e 64 55 28 29 3b |()<<16)+|randU();|
|00000970| 0d 7d 0d 0d 2f 2a 09 73 | 72 61 6e 64 55 20 2d 20 |.}../*.s|randU - |
|00000980| 73 65 65 64 20 70 73 65 | 75 64 6f 2d 72 61 6e 64 |seed pse|udo-rand|
|00000990| 6f 6d 20 6e 75 6d 62 65 | 72 20 67 65 6e 65 72 61 |om numbe|r genera|
|000009a0| 74 6f 72 09 2a 2f 0d 0d | 76 6f 69 64 20 73 72 61 |tor.*/..|void sra|
|000009b0| 6e 64 55 28 75 6e 73 69 | 67 6e 65 64 20 6e 29 0d |ndU(unsi|gned n).|
|000009c0| 7b 0d 09 73 65 65 64 2e | 4c 20 3d 20 6e 3b 0d 7d |{..seed.|L = n;.}|
|000009d0| 0d 0d 2f 2a 0d 52 61 6e | 64 46 69 6c 6c 20 75 73 |../*.Ran|dFill us|
|000009e0| 65 73 20 65 78 61 63 74 | 6c 79 20 74 68 65 20 73 |es exact|ly the s|
|000009f0| 61 6d 65 20 61 6c 67 6f | 72 69 74 68 6d 20 61 73 |ame algo|rithm as|
|00000a00| 20 72 61 6e 64 55 2c 20 | 75 73 69 6e 67 20 74 68 | randU, |using th|
|00000a10| 65 20 73 61 6d 65 20 73 | 65 65 64 2c 0d 62 75 74 |e same s|eed,.but|
|00000a20| 20 69 73 20 63 6f 64 65 | 64 20 74 6f 20 66 69 6c | is code|d to fil|
|00000a30| 6c 20 61 20 6c 61 72 67 | 65 20 62 75 66 66 65 72 |l a larg|e buffer|
|00000a40| 20 71 75 69 63 6b 6c 79 | 2e 0d 0d 54 68 65 20 74 | quickly|...The t|
|00000a50| 72 69 63 6b 20 68 65 72 | 65 20 69 73 20 74 6f 20 |rick her|e is to |
|00000a60| 61 76 6f 69 64 20 68 61 | 76 69 6e 67 20 74 6f 20 |avoid ha|ving to |
|00000a70| 64 6f 20 61 20 62 69 74 | 20 73 68 69 66 74 20 74 |do a bit| shift t|
|00000a80| 6f 20 67 65 74 20 61 74 | 20 74 68 65 20 68 69 67 |o get at| the hig|
|00000a90| 68 20 77 6f 72 64 20 6f | 66 0d 74 68 65 20 73 20 |h word o|f.the s |
|00000aa0| 72 65 67 69 73 74 65 72 | 2e 20 49 20 64 6f 20 74 |register|. I do t|
|00000ab0| 68 69 73 20 62 79 20 6d | 6f 76 69 6e 67 20 74 68 |his by m|oving th|
|00000ac0| 65 20 65 6e 74 69 72 65 | 20 6c 6f 6e 67 20 72 65 |e entire| long re|
|00000ad0| 67 69 73 74 65 72 20 74 | 6f 20 6d 65 6d 6f 72 79 |gister t|o memory|
|00000ae0| 2c 20 6f 76 65 72 77 72 | 69 74 69 6e 67 0d 74 68 |, overwr|iting.th|
|00000af0| 65 20 6c 65 61 73 74 20 | 73 69 67 6e 69 66 69 63 |e least |signific|
|00000b00| 61 6e 74 20 74 77 6f 20 | 62 79 74 65 73 20 6f 6e |ant two |bytes on|
|00000b10| 20 74 68 65 20 6e 65 78 | 74 20 69 74 65 72 61 74 | the nex|t iterat|
|00000b20| 69 6f 6e 2e 20 41 73 20 | 61 20 72 65 73 75 6c 74 |ion. As |a result|
|00000b30| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 0d 72 65 71 | this me|thod.req|
|00000b40| 75 69 72 65 73 20 61 20 | 32 20 62 79 74 65 20 6f |uires a |2 byte o|
|00000b50| 76 65 72 68 61 6e 67 20 | 62 65 79 6f 6e 64 20 74 |verhang |beyond t|
|00000b60| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 64 65 |he end o|f the de|
|00000b70| 73 69 72 65 64 20 64 61 | 74 61 2e 20 54 68 61 74 |sired da|ta. That|
|00000b80| 20 6f 76 65 72 68 61 6e | 67 20 72 65 67 69 6f 6e | overhan|g region|
|00000b90| 0d 61 6e 64 20 61 6e 20 | 6f 64 64 20 62 79 74 65 |.and an |odd byte|
|00000ba0| 2c 20 69 66 20 61 6e 79 | 2c 20 69 73 20 66 69 6c |, if any|, is fil|
|00000bb0| 6c 65 64 20 69 6e 20 62 | 79 20 63 6f 70 79 69 6e |led in b|y copyin|
|00000bc0| 67 20 66 72 6f 6d 20 61 | 20 77 6f 72 6b 41 72 65 |g from a| workAre|
|00000bd0| 61 2e 0d 0d 41 20 73 69 | 6d 70 6c 65 72 20 77 61 |a...A si|mpler wa|
|00000be0| 79 20 74 6f 20 69 6d 70 | 6c 65 6d 65 6e 74 20 74 |y to imp|lement t|
|00000bf0| 68 69 73 20 6f 76 65 72 | 68 61 6e 67 20 62 75 73 |his over|hang bus|
|00000c00| 69 6e 65 73 73 20 77 6f | 75 6c 64 20 68 61 76 65 |iness wo|uld have|
|00000c10| 20 62 65 65 6e 20 74 6f | 20 63 6f 70 79 20 74 68 | been to| copy th|
|00000c20| 65 0d 6d 65 6d 6f 72 79 | 20 74 68 61 74 20 77 61 |e.memory| that wa|
|00000c30| 73 20 74 6f 20 62 65 20 | 6f 76 65 72 77 72 69 74 |s to be |overwrit|
|00000c40| 74 65 6e 2c 20 6f 76 65 | 72 66 69 6c 6c 20 74 68 |ten, ove|rfill th|
|00000c50| 65 20 62 75 66 66 65 72 | 2c 20 61 6e 64 20 74 68 |e buffer|, and th|
|00000c60| 65 6e 20 72 65 73 74 6f | 72 65 20 74 68 65 0d 6f |en resto|re the.o|
|00000c70| 76 65 72 77 72 69 74 74 | 65 6e 20 6d 65 6d 6f 72 |verwritt|en memor|
|00000c80| 79 2e 20 54 68 65 20 70 | 72 6f 62 6c 65 6d 20 77 |y. The p|roblem w|
|00000c90| 69 74 68 20 74 68 61 74 | 20 6d 65 74 68 6f 64 20 |ith that| method |
|00000ca0| 69 73 20 74 68 61 74 20 | 69 74 20 61 73 73 75 6d |is that |it assum|
|00000cb0| 65 73 20 74 68 65 20 6f | 76 65 72 77 72 69 74 74 |es the o|verwritt|
|00000cc0| 65 6e 0d 6d 65 6d 6f 72 | 79 20 65 78 69 73 74 73 |en.memor|y exists|
|00000cd0| 20 28 65 2e 67 2e 20 69 | 74 20 6d 69 67 68 74 20 | (e.g. i|t might |
|00000ce0| 62 65 20 76 69 64 65 6f | 20 6d 65 6d 6f 72 79 29 |be video| memory)|
|00000cf0| 20 61 6e 64 20 77 6f 6e | 27 74 20 62 65 20 75 73 | and won|'t be us|
|00000d00| 65 64 20 77 68 69 6c 65 | 20 77 65 27 72 65 20 72 |ed while| we're r|
|00000d10| 75 6e 6e 69 6e 67 2c 20 | 0d 77 68 69 63 68 20 69 |unning, |.which i|
|00000d20| 73 20 6e 6f 74 20 61 6e | 20 65 6e 74 69 72 65 6c |s not an| entirel|
|00000d30| 79 20 73 61 66 65 20 61 | 73 73 75 6d 70 74 69 6f |y safe a|ssumptio|
|00000d40| 6e 20 75 6e 6c 65 73 73 | 20 77 65 20 74 75 72 6e |n unless| we turn|
|00000d50| 20 6f 66 66 20 69 6e 74 | 65 72 72 75 70 74 73 2e | off int|errupts.|
|00000d60| 20 53 6f 20 49 20 74 6f | 6f 6b 20 0d 74 68 65 20 | So I to|ok .the |
|00000d70| 63 61 75 74 69 6f 75 73 | 20 61 70 70 72 6f 61 63 |cautious| approac|
|00000d80| 68 2c 20 77 68 69 63 68 | 20 6d 61 6b 65 73 20 66 |h, which| makes f|
|00000d90| 6f 72 0d 61 20 6d 65 73 | 73 69 65 72 20 6c 6f 6f |or.a mes|sier loo|
|00000da0| 6b 69 6e 67 20 70 72 6f | 67 72 61 6d 2c 20 62 75 |king pro|gram, bu|
|00000db0| 74 20 69 74 27 73 20 73 | 61 66 65 2e 20 54 68 65 |t it's s|afe. The|
|00000dc0| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 63 6f 73 | perform|ance cos|
|00000dd0| 74 20 69 73 20 6e 65 67 | 6c 69 67 69 62 6c 65 2e |t is neg|ligible.|
|00000de0| 0d 2a 2f 0d 76 6f 69 64 | 20 52 61 6e 64 46 69 6c |.*/.void| RandFil|
|00000df0| 6c 28 76 6f 69 64 20 2a | 61 64 64 72 65 73 73 2c |l(void *|address,|
|00000e00| 6c 6f 6e 67 20 62 79 74 | 65 73 29 0d 7b 0d 09 72 |long byt|es).{..r|
|00000e10| 65 67 69 73 74 65 72 20 | 6c 6f 6e 67 20 69 3b 0d |egister |long i;.|
|00000e20| 09 72 65 67 69 73 74 65 | 72 20 75 6e 73 69 67 6e |.registe|r unsign|
|00000e30| 65 64 20 6c 6f 6e 67 20 | 73 2c 6d 75 6c 2c 61 64 |ed long |s,mul,ad|
|00000e40| 64 3b 0d 09 72 65 67 69 | 73 74 65 72 20 75 6e 73 |d;..regi|ster uns|
|00000e50| 69 67 6e 65 64 20 73 68 | 6f 72 74 20 2a 70 74 72 |igned sh|ort *ptr|
|00000e60| 3b 0d 09 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |;..unsig|ned shor|
|00000e70| 74 20 2a 73 61 76 65 50 | 74 72 2c 77 6f 72 6b 41 |t *saveP|tr,workA|
|00000e80| 72 65 61 5b 33 5d 3b 0d | 0d 09 73 3d 73 65 65 64 |rea[3];.|..s=seed|
|00000e90| 2e 4c 3b 0d 09 6d 75 6c | 3d 31 31 30 33 35 31 35 |.L;..mul|=1103515|
|00000ea0| 32 34 35 4c 3b 0d 09 61 | 64 64 3d 31 32 33 34 35 |245L;..a|dd=12345|
|00000eb0| 4c 3b 0d 09 70 74 72 3d | 28 75 6e 73 69 67 6e 65 |L;..ptr=|(unsigne|
|00000ec0| 64 20 73 68 6f 72 74 20 | 2a 29 61 64 64 72 65 73 |d short |*)addres|
|00000ed0| 73 3b 0d 09 69 3d 62 79 | 74 65 73 3b 0d 09 69 2d |s;..i=by|tes;..i-|
|00000ee0| 3d 32 3b 09 09 09 09 09 | 2f 2a 20 61 6c 6c 6f 77 |=2;.....|/* allow|
|00000ef0| 20 67 75 61 72 64 20 72 | 6f 6f 6d 20 66 6f 72 20 | guard r|oom for |
|00000f00| 6f 76 65 72 73 68 6f 6f | 74 20 2a 2f 0d 09 2f 2a |overshoo|t */../*|
|00000f10| 20 42 65 63 61 75 73 65 | 20 6f 66 20 74 68 65 20 | Because| of the |
|00000f20| 75 6e 72 6f 6c 6c 69 6e | 67 2c 20 74 68 65 20 6c |unrollin|g, the l|
|00000f30| 6f 6f 70 20 6f 76 65 72 | 68 65 61 64 20 69 73 20 |oop over|head is |
|00000f40| 6f 6e 6c 79 20 33 25 20 | 6f 66 20 72 75 6e 6e 69 |only 3% |of runni|
|00000f50| 6e 67 20 74 69 6d 65 20 | 2a 2f 0d 09 66 6f 72 28 |ng time |*/..for(|
|00000f60| 3b 69 3e 3d 33 32 3b 69 | 2d 3d 33 32 29 20 7b 0d |;i>=32;i|-=32) {.|
|00000f70| 09 09 2f 2a 20 74 68 69 | 73 20 63 6f 6d 70 69 6c |../* thi|s compil|
|00000f80| 65 73 20 74 6f 20 34 20 | 69 6e 73 74 72 75 63 74 |es to 4 |instruct|
|00000f90| 69 6f 6e 73 3a 20 4d 55 | 4c 55 2e 4c 2c 20 41 44 |ions: MU|LU.L, AD|
|00000fa0| 44 2e 4c 2c 20 4d 4f 56 | 45 2e 4c 2c 20 41 44 44 |D.L, MOV|E.L, ADD|
|00000fb0| 51 2e 4c 20 2a 2f 0d 09 | 09 73 20 2a 3d 20 6d 75 |Q.L */..|.s *= mu|
|00000fc0| 6c 3b 20 73 20 2b 3d 20 | 61 64 64 3b 20 2a 28 75 |l; s += |add; *(u|
|00000fd0| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 2a 29 70 |nsigned |long *)p|
|00000fe0| 74 72 3d 73 3b 20 70 74 | 72 2b 2b 3b 0d 09 09 73 |tr=s; pt|r++;...s|
|00000ff0| 20 2a 3d 20 6d 75 6c 3b | 20 73 20 2b 3d 20 61 64 | *= mul;| s += ad|
|00001000| 64 3b 20 2a 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |d; *(uns|igned lo|
|00001010| 6e 67 20 2a 29 70 74 72 | 3d 73 3b 20 70 74 72 2b |ng *)ptr|=s; ptr+|
|00001020| 2b 3b 0d 09 09 73 20 2a | 3d 20 6d 75 6c 3b 20 73 |+;...s *|= mul; s|
|00001030| 20 2b 3d 20 61 64 64 3b | 20 2a 28 75 6e 73 69 67 | += add;| *(unsig|
|00001040| 6e 65 64 20 6c 6f 6e 67 | 20 2a 29 70 74 72 3d 73 |ned long| *)ptr=s|
|00001050| 3b 20 70 74 72 2b 2b 3b | 0d 09 09 73 20 2a 3d 20 |; ptr++;|...s *= |
|00001060| 6d 75 6c 3b 20 73 20 2b | 3d 20 61 64 64 3b 20 2a |mul; s +|= add; *|
|00001070| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 2a |(unsigne|d long *|
|00001080| 29 70 74 72 3d 73 3b 20 | 70 74 72 2b 2b 3b 0d 09 |)ptr=s; |ptr++;..|
|00001090| 09 73 20 2a 3d 20 6d 75 | 6c 3b 20 73 20 2b 3d 20 |.s *= mu|l; s += |
|000010a0| 61 64 64 3b 20 2a 28 75 | 6e 73 69 67 6e 65 64 20 |add; *(u|nsigned |
|000010b0| 6c 6f 6e 67 20 2a 29 70 | 74 72 3d 73 3b 20 70 74 |long *)p|tr=s; pt|
|000010c0| 72 2b 2b 3b 0d 09 09 73 | 20 2a 3d 20 6d 75 6c 3b |r++;...s| *= mul;|
|000010d0| 20 73 20 2b 3d 20 61 64 | 64 3b 20 2a 28 75 6e 73 | s += ad|d; *(uns|
|000010e0| 69 67 6e 65 64 20 6c 6f | 6e 67 20 2a 29 70 74 72 |igned lo|ng *)ptr|
|000010f0| 3d 73 3b 20 70 74 72 2b | 2b 3b 0d 09 09 73 20 2a |=s; ptr+|+;...s *|
|00001100| 3d 20 6d 75 6c 3b 20 73 | 20 2b 3d 20 61 64 64 3b |= mul; s| += add;|
|00001110| 20 2a 28 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 | *(unsig|ned long|
|00001120| 20 2a 29 70 74 72 3d 73 | 3b 20 70 74 72 2b 2b 3b | *)ptr=s|; ptr++;|
|00001130| 0d 09 09 73 20 2a 3d 20 | 6d 75 6c 3b 20 73 20 2b |...s *= |mul; s +|
|00001140| 3d 20 61 64 64 3b 20 2a | 28 75 6e 73 69 67 6e 65 |= add; *|(unsigne|
|00001150| 64 20 6c 6f 6e 67 20 2a | 29 70 74 72 3d 73 3b 20 |d long *|)ptr=s; |
|00001160| 70 74 72 2b 2b 3b 0d 09 | 09 73 20 2a 3d 20 6d 75 |ptr++;..|.s *= mu|
|00001170| 6c 3b 20 73 20 2b 3d 20 | 61 64 64 3b 20 2a 28 75 |l; s += |add; *(u|
|00001180| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 2a 29 70 |nsigned |long *)p|
|00001190| 74 72 3d 73 3b 20 70 74 | 72 2b 2b 3b 0d 09 09 73 |tr=s; pt|r++;...s|
|000011a0| 20 2a 3d 20 6d 75 6c 3b | 20 73 20 2b 3d 20 61 64 | *= mul;| s += ad|
|000011b0| 64 3b 20 2a 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |d; *(uns|igned lo|
|000011c0| 6e 67 20 2a 29 70 74 72 | 3d 73 3b 20 70 74 72 2b |ng *)ptr|=s; ptr+|
|000011d0| 2b 3b 0d 09 09 73 20 2a | 3d 20 6d 75 6c 3b 20 73 |+;...s *|= mul; s|
|000011e0| 20 2b 3d 20 61 64 64 3b | 20 2a 28 75 6e 73 69 67 | += add;| *(unsig|
|000011f0| 6e 65 64 20 6c 6f 6e 67 | 20 2a 29 70 74 72 3d 73 |ned long| *)ptr=s|
|00001200| 3b 20 70 74 72 2b 2b 3b | 0d 09 09 73 20 2a 3d 20 |; ptr++;|...s *= |
|00001210| 6d 75 6c 3b 20 73 20 2b | 3d 20 61 64 64 3b 20 2a |mul; s +|= add; *|
|00001220| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 2a |(unsigne|d long *|
|00001230| 29 70 74 72 3d 73 3b 20 | 70 74 72 2b 2b 3b 0d 09 |)ptr=s; |ptr++;..|
|00001240| 09 73 20 2a 3d 20 6d 75 | 6c 3b 20 73 20 2b 3d 20 |.s *= mu|l; s += |
|00001250| 61 64 64 3b 20 2a 28 75 | 6e 73 69 67 6e 65 64 20 |add; *(u|nsigned |
|00001260| 6c 6f 6e 67 20 2a 29 70 | 74 72 3d 73 3b 20 70 74 |long *)p|tr=s; pt|
|00001270| 72 2b 2b 3b 0d 09 09 73 | 20 2a 3d 20 6d 75 6c 3b |r++;...s| *= mul;|
|00001280| 20 73 20 2b 3d 20 61 64 | 64 3b 20 2a 28 75 6e 73 | s += ad|d; *(uns|
|00001290| 69 67 6e 65 64 20 6c 6f | 6e 67 20 2a 29 70 74 72 |igned lo|ng *)ptr|
|000012a0| 3d 73 3b 20 70 74 72 2b | 2b 3b 0d 09 09 73 20 2a |=s; ptr+|+;...s *|
|000012b0| 3d 20 6d 75 6c 3b 20 73 | 20 2b 3d 20 61 64 64 3b |= mul; s| += add;|
|000012c0| 20 2a 28 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 | *(unsig|ned long|
|000012d0| 20 2a 29 70 74 72 3d 73 | 3b 20 70 74 72 2b 2b 3b | *)ptr=s|; ptr++;|
|000012e0| 0d 09 09 73 20 2a 3d 20 | 6d 75 6c 3b 20 73 20 2b |...s *= |mul; s +|
|000012f0| 3d 20 61 64 64 3b 20 2a | 28 75 6e 73 69 67 6e 65 |= add; *|(unsigne|
|00001300| 64 20 6c 6f 6e 67 20 2a | 29 70 74 72 3d 73 3b 20 |d long *|)ptr=s; |
|00001310| 70 74 72 2b 2b 3b 0d 09 | 7d 0d 09 66 6f 72 28 3b |ptr++;..|}..for(;|
|00001320| 69 3e 3d 32 3b 69 2d 3d | 32 29 20 7b 0d 09 09 73 |i>=2;i-=|2) {...s|
|00001330| 20 2a 3d 20 6d 75 6c 3b | 20 73 20 2b 3d 20 61 64 | *= mul;| s += ad|
|00001340| 64 3b 20 2a 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |d; *(uns|igned lo|
|00001350| 6e 67 20 2a 29 70 74 72 | 3d 73 3b 20 70 74 72 2b |ng *)ptr|=s; ptr+|
|00001360| 2b 3b 0d 09 7d 0d 09 69 | 2b 3d 32 3b 09 09 09 09 |+;..}..i|+=2;....|
|00001370| 09 2f 2a 20 72 65 6d 6f | 76 65 20 67 75 61 72 64 |./* remo|ve guard|
|00001380| 20 2a 2f 0d 09 73 61 76 | 65 50 74 72 3d 70 74 72 | */..sav|ePtr=ptr|
|00001390| 3b 0d 09 70 74 72 3d 26 | 77 6f 72 6b 41 72 65 61 |;..ptr=&|workArea|
|000013a0| 5b 30 5d 3b 0d 09 73 20 | 2a 3d 20 6d 75 6c 3b 20 |[0];..s |*= mul; |
|000013b0| 73 20 2b 3d 20 61 64 64 | 3b 20 2a 28 75 6e 73 69 |s += add|; *(unsi|
|000013c0| 67 6e 65 64 20 6c 6f 6e | 67 20 2a 29 70 74 72 3d |gned lon|g *)ptr=|
|000013d0| 73 3b 20 70 74 72 2b 2b | 3b 0d 09 73 20 2a 3d 20 |s; ptr++|;..s *= |
|000013e0| 6d 75 6c 3b 20 73 20 2b | 3d 20 61 64 64 3b 20 2a |mul; s +|= add; *|
|000013f0| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 2a |(unsigne|d long *|
|00001400| 29 70 74 72 3d 73 3b 20 | 70 74 72 2b 2b 3b 0d 09 |)ptr=s; |ptr++;..|
|00001410| 6d 65 6d 63 70 79 28 28 | 76 6f 69 64 20 2a 29 73 |memcpy((|void *)s|
|00001420| 61 76 65 50 74 72 2c 28 | 76 6f 69 64 20 2a 29 77 |avePtr,(|void *)w|
|00001430| 6f 72 6b 41 72 65 61 2c | 69 29 3b 0d 09 73 65 65 |orkArea,|i);..see|
|00001440| 64 2e 4c 3d 73 3b 0d 7d | 00 00 00 00 00 00 00 00 |d.L=s;.}|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001490| 70 74 72 3d 73 3b 20 70 | 74 72 2b 2b 3b 0d 09 09 |ptr=s; p|tr++;...|
|000014a0| 73 20 2a 3d 20 6d 75 6c | 3b 20 73 20 2b 3d 20 61 |s *= mul|; s += a|
|000014b0| 07 72 61 6e 64 55 2e 63 | 02 00 00 00 54 45 58 54 |.randU.c|....TEXT|
|000014c0| 4b 41 48 4c 00 00 00 00 | 00 00 00 00 00 00 32 10 |KAHL....|......2.|
|000014d0| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 a7 e5 d5 c6 00 00 | 00 00 00 00 01 ac 72 3d |........|......r=|
|00001500| 73 3b 20 70 74 72 2b 2b | 3b 0d 09 09 73 20 2a 3d |s; ptr++|;...s *=|
|00001510| 20 6d 75 6c 3b 20 73 20 | 2b 3d 20 61 64 64 3b 20 | mul; s |+= add; |
|00001520| 2a 28 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |*(unsign|ed long |
|00001530| 2a 29 70 74 72 3d 73 3b | 20 70 74 72 2b 2b 3b 0d |*)ptr=s;| ptr++;.|
|00001540| 09 7d 0d 09 66 6f 72 28 | 3b 69 3e 3d 32 3b 69 2d |.}..for(|;i>=2;i-|
|00001550| 3d 32 29 20 7b 0d 09 09 | 73 20 2a 3d 20 6d 75 6c |=2) {...|s *= mul|
|00001560| 3b 20 73 20 2b 3d 20 61 | 64 64 3b 20 2a 28 75 6e |; s += a|dd; *(un|
|00001570| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 2a 29 70 74 |signed l|ong *)pt|
|00001580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 41 4e 53 |...H..Mo|naco.ANS|
|00001590| 49 20 73 74 61 6e 64 61 | 72 64 20 72 61 6e 64 6f |I standa|rd rando|
|000015a0| 6d 20 6e 75 6d 62 00 06 | 00 04 00 64 00 1c 01 8d |m numb..|...d....|
|000015b0| 02 3d 00 64 00 1c 01 8d | 02 3d a7 07 65 b0 00 00 |.=.d....|.=..e...|
|000015c0| 07 cd 00 00 07 ef 00 00 | 07 95 01 00 00 00 00 1e |........|........|
|000015d0| 00 64 00 1c 01 8d 02 3d | 00 64 00 1c 01 8d 02 3d |.d.....=|.d.....=|
|000015e0| 00 00 07 95 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 53 |.....n..|.n...>.S|
|00001600| 10 14 09 30 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |...0....|.>..MPSR|
|00001610| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 03 f0 ff ff 00 00 00 4c | 00 55 0f 7c 00 00 00 00 |.......L|.U.|....|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+